package com.campus.backend.vo.feedback;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 反馈类型VO
 *
 * @author System
 * @since 2025-01-27
 */
@Data
@ApiModel(description = "反馈类型视图对象")
public class FeedbackTypeVo {

    @ApiModelProperty("反馈类型ID")
    private Integer id;

    @ApiModelProperty("反馈类型名称")
    private String name;

    @ApiModelProperty("反馈类型编码")
    private String code;

    @ApiModelProperty("类型描述")
    private String description;

    @ApiModelProperty("适用用户类型：1-顾客，2-商户，3-配送员")
    private Integer userType;

    @ApiModelProperty("用户类型名称")
    private String userTypeName;

    @ApiModelProperty("排序序号")
    private Integer sortOrder;

    @ApiModelProperty("状态：0-禁用，1-启用")
    private Integer status;

    @ApiModelProperty("状态名称")
    private String statusName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}